home *** CD-ROM | disk | FTP | other *** search
Text File | 1996-02-19 | 2.9 KB | 160 lines | [TEXT/MPS ] |
- /*
- File: SCPCHeaders++.pch
-
- Contains: OpenDocâ„¢ sample code pre-compiled header
-
- Written by: Steve Smith
-
- Copyright: © 1994,95 by Apple Computer, Inc., all rights reserved.
- */
-
- // -- Compiler/Preprocessor Switches --
-
- // Just before you are ready to ship, uncomment the line below.
- // Doing so will remove all the SampleCode_SamplePartMethodDebug()
- // lines from the generated code.
- // Note: The _RETAIL switch can be found in somcdev.h
- //#define _RETAIL
-
- // ODDebug must be defined because we are using Except.cpp & ODDebug.cpp.
- #ifdef _RETAIL
- // turn off debugging
- #ifndef ODDebug
- #define ODDebug 0
- #endif
- #else
- // turn on debugging and traceback symbol generation (PPC only)
- #ifndef ODDebug
- #define ODDebug 1
- #pragma traceback on
- #endif
- #endif
-
- // We should no longer be using the "old" routine names/structs.
- #ifndef OLDROUTINENAMES
- #define OLDROUTINENAMES 0
- #endif
- #ifndef OLDROUTINELOCATIONS
- #define OLDROUTINELOCATIONS 0
- #endif
-
- // Some public headers #ifdef out structs not useful to other platforms.
- #ifndef _PLATFORM_MACINTOSH_
- #define _PLATFORM_MACINTOSH_ 1
- #endif
-
- // If you use the STDTypIO utility, you must define the platforms
- // endian-ness.
- #ifndef _PLATFORM_BIG_ENDIAN_
- #define _PLATFORM_BIG_ENDIAN_ 1
- #endif
-
- // There is an apparent bug in the ConditionalMacros.h v2.1 header. This
- // prevents the Symantec 8.0 C++ compiler from exporting symbols. To work
- // around the problem, we define PRAGMA_IMPORT_SUPPORTED.
- #if defined(__SC__)
- #define PRAGMA_IMPORT_SUPPORTED 1
- #endif
-
- // -- OpenDoc Public Utilites --
- // (must be included before ODTypes.h)
-
- #ifndef _ALTPOINT_
- #include "AltPoint.h"
- #endif
-
- #ifndef _ALTPOLY_
- #include "AltPoly.h"
- #endif
-
- // -- OpenDoc Utilities --
-
- #ifndef _EXCEPT_
- #include "Except.h"
- #endif
-
- // -- OpenDoc Includes --
-
- #ifndef _QDFIXM_
- #include "QDFixM.h"
- #endif
-
- #ifndef _ODTYPES_
- #include <ODTypes.h>
- #endif
-
- #ifndef SOM_ODPart_xh
- #include <Part.xh>
- #endif
-
- #ifndef SOM_ODFacet_xh
- #include <Facet.xh>
- #endif
-
- #ifndef SOM_ODFrame_xh
- #include <Frame.xh>
- #endif
-
- #ifndef SOM_ODShape_xh
- #include <Shape.xh>
- #endif
-
- #ifndef SOM_Module_OpenDoc_StdProps_defined
- #include <StdProps.xh>
- #endif
-
- #ifndef SOM_Module_OpenDoc_StdTypes_defined
- #include <StdTypes.xh>
- #endif
-
- #ifndef SOM_Module_OpenDoc_StdDefs_defined
- #include <StdDefs.xh>
- #endif
-
- #ifndef SOM_ODDraft_xh
- #include <Draft.xh>
- #endif
-
- #ifndef SOM_ODStorageUnit_xh
- #include <StorageU.xh>
- #endif
-
- #ifndef SOM_ODTransform_xh
- #include <Trnsform.xh>
- #endif
-
- #ifndef SOM_ODFocusSet_xh
- #include <FocusSet.xh>
- #endif
-
- #ifndef SOM_ODMenuBar_xh
- #include <MenuBar.xh>
- #endif
-
- #ifndef SOM_ODWindow_xh
- #include <Window.xh>
- #endif
-
- #ifndef SOM_ODSession_xh
- #include <ODSessn.xh>
- #endif
-
- // -- OpenDoc Utilities (cont.)
-
- #ifndef _ODMEMORY_
- #include <ODMemory.h>
- #endif
-
- // -- Toolbox Includes --
-
- #include <Dialogs.h>
- #include <Errors.h>
- #include <Icons.h>
- #include <LowMem.h>
- #include <Menus.h>
- #include <Quickdraw.h>
- #include <Resources.h>
- #include <ToolUtils.h>
- #include <Types.h>
- #include <Windows.h>
-